package com.atguigu.gulimallflow.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import utils.PageUtils;
import utils.Query;

import com.atguigu.gulimallflow.dao.ActCmmnDeploymentResourceDao;
import com.atguigu.gulimallflow.entity.ActCmmnDeploymentResourceEntity;
import com.atguigu.gulimallflow.service.ActCmmnDeploymentResourceService;


@Service("actCmmnDeploymentResourceService")
public class ActCmmnDeploymentResourceServiceImpl extends ServiceImpl<ActCmmnDeploymentResourceDao, ActCmmnDeploymentResourceEntity> implements ActCmmnDeploymentResourceService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ActCmmnDeploymentResourceEntity> page = this.page(
                new Query<ActCmmnDeploymentResourceEntity>().getPage(params),
                new QueryWrapper<ActCmmnDeploymentResourceEntity>()
        );

        return new PageUtils(page);
    }

}
